package com.demo.security.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录成功后返回的token结果实体
 * @author molong
 * @since 2024/6/7
 */
@ApiModel(description = "登录成功后返回的token结果实体")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginSuccessTokenVo {
    @ApiModelProperty("请求令牌")
    private String token;

    @ApiModelProperty("请求令牌过期时间")
    private String exp;

    @ApiModelProperty("刷新令牌令牌")
    private String refreshToken;

    @ApiModelProperty("刷新令牌过期时间")
    private String refreshTokenExp;

}
